using System.Collections.Generic;

namespace Orchard.Templates.Compilation.Razor
{
    public interface IRazorCompiler : IDependency
    {
        IRazorTemplateBase<TModel> CompileRazor<TModel>(string code, string name, IDictionary<string, object> parameters);
        IRazorTemplateBase CompileRazor(string code, string name, IDictionary<string, object> parameters);
    }
}